$(document).ready(function(){
	var self = $(".bank2 ul");
	var h = self.height();
	var dj = self.parent().children("span")
	if( h > 207 ){
		self.css("height","207px");
		dj.toggle(function(){
			self.animate({ height : h} , 500);
			dj.addClass("active");
		},function(){
			self.animate({ height : 207} , 500);
			dj.removeClass("active");
		})
	}else{
		dj.hide();
	}
});
$.fn.toggle = function( fn ) {
                // Save reference to arguments for access in closure
                var args = arguments,
                        guid = fn.guid || jQuery.guid++,
                        i = 0,
                        toggler = function( event ) {
                            // Figure out which function to execute
                            var lastToggle = ( jQuery._data( this, "lastToggle" + fn.guid ) || 0 ) % i;
                            jQuery._data( this, "lastToggle" + fn.guid, lastToggle + 1 );

                            // Make sure that clicks stop
                            event.preventDefault();

                            // and execute the function
                            return args[ lastToggle ].apply( this, arguments ) || false;
                        };

                // link all the functions, so any of them can unbind this click handler
                toggler.guid = guid;
                while ( i < args.length ) {
                    args[ i++ ].guid = guid;
                }

                return this.click( toggler );
            }